<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>伪对象before 和after </title>
		<style>
			div:before{
				content:'大扎好';
				color: red;
			}
			div::after{
				content: '我是渣渣灰';
				border: 3px solid greenyellow;
			}
		</style>
	</head>
	<body>
		<div>We change lives</div>
	</body>
</html>
